From adb9621877dc0624d1b1f49019dcf57f28513e28 Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Thu, 6 Dec 2012 15:53:46 +0800 Subject: [PATCH] fixed bug --- Gemfile | 1 - spec/requests/desktop/co_authors_pages.spec.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index c893a8997..ca24e34ff 100644 --- a/Gemfile +++ b/Gemfile @@ -79,7 +79,6 @@ group :test, :development do gem 'faker' gem "sunspot-rails-tester" - gem 'spork' gem 'database_cleaner' #Strategies for cleaning databases. Can be used to ensure a clean state for testing. gem "rspec", "~> 2.0" gem "rspec-rails", "~> 2.0" diff --git a/spec/requests/desktop/co_authors_pages.spec.rb b/spec/requests/desktop/co_authors_pages.spec.rb index 3ac49c418..f68d40a98 100644 --- a/spec/requests/desktop/co_authors_pages.spec.rb +++ b/spec/requests/desktop/co_authors_pages.spec.rb @@ -5,7 +5,7 @@ describe "Co-Author pages" do describe "Co-Author list" do before { visit desktop_co_authors } - + it { should have_selector('a', text: 'New Co-Author') } end end