Skip to content

Commit

Permalink
Removed duplicate specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Apr 21, 2010
1 parent e10df66 commit 0f50cc9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
16 changes: 0 additions & 16 deletions spec/views/features/merge.html.erb_spec.rb
Expand Up @@ -23,21 +23,5 @@
it "should have a link to actually merge the changes" do
response.should have_selector :a, :content => 'Patch'
end

it "should have a legend displaying system changes as green" do
response.should have_selector :div, attribute = {:id => "legend"} do |legend_wrapper|
legend_wrapper.should have_selector :span, attribute = {:class => "gd"} do |content|
content.should contain "Removing from file"
end
end
end

it "should have a legend displaying file changes as red" do
response.should have_selector :div, attribute = {:id => "legend"} do |legend_wrapper|
legend_wrapper.should have_selector :span, attribute = {:class => "gi"} do |content|
content.should contain "Adding to file"
end
end
end
end
end
16 changes: 0 additions & 16 deletions spec/views/features/system_merge.html.erb_spec.rb
Expand Up @@ -15,21 +15,5 @@
it "should have a link to update the system feature" do
response.should have_selector :a, attributes = {:href => system_sync_feature_path(@feature)}
end

it "should have a legend displaying system changes as green" do
response.should have_selector :div, attribute = {:id => "legend"} do |legend_wrapper|
legend_wrapper.should have_selector :span, attribute = {:class => "gi"} do |content|
content.should contain "Adding to system"
end
end
end

it "should have a legend displaying file changes as red" do
response.should have_selector :div, attribute = {:id => "legend"} do |legend_wrapper|
legend_wrapper.should have_selector :span, attribute = {:class => "gd"} do |content|
content.should contain "Removing from system"
end
end
end
end
end

0 comments on commit 0f50cc9

Please sign in to comment.