Created
July 31, 2014 02:16
-
-
Save AmiZya/003a2465d9674d8aeb19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1] guard(main)> | |
02:12:12 - INFO - Run all | |
02:12:12 - INFO - Running all specs | |
...................... | |
From: /Users/amine/Ruby/timetracker/spec/features/account_creation_feature_spec.rb @ line 6 : | |
1: require 'spec_helper' | |
2: | |
3: describe 'account creation' do | |
4: it 'allows user to create account' do | |
5: visit root_path | |
=> 6: binding.pry | |
7: click_link 'Create Account' | |
8: fill_in 'Name', with: 'Ryan' | |
9: fill_in 'Email', with: '[email protected]' | |
10: fill_in 'Password', with: 'pw' | |
11: fill_in 'Password Confirmation', with: 'pw' | |
[1] pry(#<RSpec::ExampleGroups::AccountCreation>)> click_link 'Create Account' | |
ActionView::Template::Error: undefined method `errors' for nil:NilClass | |
from /Users/amine/Ruby/timetracker/app/helpers/form_helper.rb:8:in `form_group_for' | |
[2] pry(#<RSpec::ExampleGroups::AccountCreation>)> form | |
NameError: undefined local variable or method `form' for #<RSpec::ExampleGroups::AccountCreation:0x007fc681db8900> | |
from /Users/amine/.rvm/gems/ruby-2.1.2/gems/rspec-expectations-3.0.3/lib/rspec/matchers.rb:902:in `method_missing' | |
[3] pry(#<RSpec::ExampleGroups::AccountCreation>)> page | |
=> #<Capybara::Session> | |
[4] pry(#<RSpec::ExampleGroups::AccountCreation>)> page.text | |
=> "Time Tracker Time Tracker Track your time with the most awesome time tracking app ever. Create Account" | |
[5] pry(#<RSpec::ExampleGroups::AccountCreation>)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment