Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View Gemfile
1 2 3 4 5 6 7 8 9 10 11 12 13
source 'http://rubygems.org'
 
gem 'rails', '3.0.11'
 
gem 'sqlite3'
 
 
group :development, :test do
gem 'cucumber-rails'
gem 'factory_girl_rails' # rails 3 version
end
View Gemfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
bundle
Using rake (0.9.2.2)
Using abstract (1.0.0)
Using activesupport (3.0.11)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.11)
Using erubis (2.6.6)
Using rack (1.2.4)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.31)
Using actionpack (3.0.11)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.11)
Using arel (2.0.10)
Using activerecord (3.0.11)
Using activeresource (3.0.11)
Using bundler (1.0.21)
Using nokogiri (1.5.0)
Using ffi (1.0.11)
Using childprocess (0.2.3)
Using multi_json (1.0.4)
Using rubyzip (0.9.5)
Using selenium-webdriver (2.14.0)
Using xpath (0.1.4)
Using capybara (1.1.2)
Using diff-lcs (1.1.3)
Using json (1.6.3)
Using gherkin (2.6.9)
Using term-ansicolor (1.0.7)
Using cucumber (1.1.3)
Using cucumber-rails (1.2.1)
Using factory_girl (2.3.2)
Using rdoc (3.11)
Using thor (0.14.6)
Using railties (3.0.11)
Using factory_girl_rails (1.4.0)
Using rails (3.0.11)
Using sqlite3 (1.3.5)
View Gemfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
cucumber
Using the default profile...
"Adam Advertiser"
"a@b.com"
#<User:0x7fefb8787170 @email="a@b.com", @name="Adam Advertiser">
Feature: a
 
Scenario: test factory-girl # features/users.feature:2
Given the following user exists: # factory_girl-2.3.2/lib/factory_girl/step_definitions.rb:100
| name | email |
| Brandon | brandon@example.com |
Factory not registered: user (ArgumentError)
features/users.feature:3:in `Given the following user exists:'
 
Failing Scenarios:
cucumber features/users.feature:2 # Scenario: test factory-girl
 
1 scenario (1 failed)
1 step (1 failed)
0m0.133s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.