Skip to content

Commit

Permalink
Fix specs around dashboard link check
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick Francois committed Oct 9, 2013
1 parent 5a65699 commit cb166f6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions spec/controllers/admin/dashboard_controller_spec.rb
Expand Up @@ -23,10 +23,6 @@
response.should have_selector("a", :href => "/admin/sidebar" , :content => "enable plugins")
end

it "should have a link to plugins.publify.co" do
response.should have_selector("a", :href => "http://plugins.publify.co" , :content => "download some plugins")
end

it "should have a link to a new article" do
response.should have_selector("a", :href => "/admin/content/new" , :content => "write a post")
end
Expand Down Expand Up @@ -86,10 +82,6 @@
response.should_not have_selector("a", :href => "/admin/sidebar" , :content => "enable plugins")
end

it "should not have a link to plugins.publify.co" do
response.should_not have_selector("a", :href => "http://plugins.publify.co" , :content => "download some plugins")
end

it "should have a link to a new article" do
response.should have_selector("a", :href => "/admin/content/new" , :content => "write a post")
end
Expand Down Expand Up @@ -141,10 +133,6 @@
response.should_not have_selector("a", :href => "/admin/sidebar" , :content => "enable plugins")
end

it "should not have a link to plugins.publify.co" do
response.should_not have_selector("a", :href => "http://plugins.publify.co" , :content => "download some plugins")
end

it "should not have a link to a new article" do
response.should_not have_selector("a", :href => "/admin/content/new" , :content => "write a post")
end
Expand Down

0 comments on commit cb166f6

Please sign in to comment.