Skip to content

Commit

Permalink
Get Cucumber tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartl committed May 10, 2013
1 parent da9eebd commit 35f2d86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :test do
gem 'launchy', '2.2.0'
gem 'factory_girl_rails', '4.2.0'
gem 'cucumber-rails', '1.3.0', :require => false
gem 'database_cleaner', github: 'bmabey/database_cleaner'
gem 'database_cleaner', '~> 1.0.0.RC1'
end

group :assets do
Expand Down
9 changes: 2 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
GIT
remote: git://github.com/bmabey/database_cleaner.git
revision: ce1d16298960c28182568611892bfa4c386cfaf5
specs:
database_cleaner (0.9.1)

GIT
remote: git://github.com/railstutorial/spork-rails.git
revision: 5db525af2f917047057f546bc1ac2574d1c6b11e
Expand Down Expand Up @@ -72,6 +66,7 @@ GEM
capybara (>= 1.1.2)
cucumber (>= 1.1.8)
nokogiri (>= 1.5.0)
database_cleaner (1.0.0.RC1)
diff-lcs (1.2.4)
erubis (2.7.0)
execjs (1.4.0)
Expand Down Expand Up @@ -224,7 +219,7 @@ DEPENDENCIES
childprocess (= 0.3.6)
coffee-rails (= 4.0.0.beta1)
cucumber-rails (= 1.3.0)
database_cleaner!
database_cleaner (~> 1.0.0.RC1)
factory_girl_rails (= 4.2.0)
faker (= 1.1.2)
growl (= 1.0.3)
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/authentication_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
end

Then /^he should see his profile page$/ do
expect(page).to have_selector('title', text: @user.name)
expect(page).to have_title(@user.name)
end

Then /^he should see a signout link$/ do
Expand Down

0 comments on commit 35f2d86

Please sign in to comment.