Commit 1331617d30122090d4c6c8c738a5865dfb23531c
1 parent
3934c1e6
Exists in
master
and in
27 other branches
plugins/community_track: remove useless file creation in test
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb
... | ... | @@ -101,9 +101,6 @@ class ContentViewerControllerTest < ActionController::TestCase |
101 | 101 | should 'render tracks in track list block' do |
102 | 102 | @block = CommunityTrackPlugin::TrackListBlock.create!(:box => @profile.boxes.last) |
103 | 103 | get :view_page, @step.url |
104 | - file = File.open('result.html', 'w+') | |
105 | - file.write(@response.body) | |
106 | - file.close | |
107 | 104 | assert_tag :tag => 'div', :attributes => { :class => "item category_#{@track.category_name}" }, :descendant => { :tag => 'div', :attributes => { :class => 'steps' }, :descendant => { :tag => 'span', :attributes => { :class => "step #{@block.status_class(@step)}" } } } |
108 | 105 | end |
109 | 106 | ... | ... |