Last active
November 24, 2015 17:47
-
-
Save seanoshea/9cdced797a4c80c3586f to your computer and use it in GitHub Desktop.
FFaker Issue
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
soshea-mbpr:market_place_api sean.oshea$ which ruby | |
/Users/sean.oshea/.rvm/rubies/ruby-2.1.2/bin/ruby | |
soshea-mbpr:market_place_api sean.oshea$ ruby --version | |
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0] | |
soshea-mbpr:market_place_api sean.oshea$ which rails | |
/Users/sean.oshea/.rvm/gems/ruby-2.1.2/bin/rails | |
soshea-mbpr:market_place_api sean.oshea$ rails --version | |
Rails 4.0.2 | |
soshea-mbpr:market_place_api sean.oshea$ gem list | |
*** LOCAL GEMS *** | |
actionmailer (4.0.2) | |
actionpack (4.0.2) | |
active_model_serializers (0.8.1) | |
activemodel (4.0.2) | |
activerecord (4.0.2) | |
activerecord-deprecated_finders (1.0.3) | |
activesupport (4.0.2) | |
addressable (2.3.6) | |
arel (4.0.2) | |
bcrypt (3.1.10, 3.1.7) | |
bigdecimal (1.2.4) | |
builder (3.1.4) | |
bundler (1.6.2) | |
bundler-unload (1.0.2) | |
chunky_png (1.3.4, 1.3.1) | |
coffee-rails (4.0.1) | |
coffee-script (2.2.0) | |
coffee-script-source (1.7.0) | |
compass (0.12.7, 0.12.6) | |
compass-rails (2.0.0, 1.1.7) | |
delayed_job (4.0.6) | |
delayed_job_active_record (4.0.3) | |
devise (3.5.2, 3.2.4) | |
diff-lcs (1.2.5) | |
email_spec (1.6.0) | |
erubis (2.7.0) | |
execjs (2.2.0) | |
executable-hooks (1.3.2) | |
factory_girl (4.4.0) | |
factory_girl_rails (4.4.1) | |
ffaker (1.24.0) | |
font-awesome-rails (4.4.0.0, 4.1.0.0) | |
fssm (0.2.10) | |
furatto (1.4.0, 1.2.7) | |
gem-wrappers (1.2.7, 1.2.4) | |
hike (1.2.3) | |
httparty (0.13.5, 0.13.1) | |
i18n (0.6.9) | |
io-console (0.4.2) | |
jquery-rails (3.1.0) | |
json (1.8.1) | |
kaminari (0.16.1) | |
launchy (2.4.3) | |
mail (2.5.4) | |
mime-types (1.25.1) | |
minitest (4.7.5) | |
multi_json (1.10.1) | |
multi_xml (0.5.5) | |
orm_adapter (0.5.0) | |
polyglot (0.3.5) | |
psych (2.0.5) | |
rack (1.5.2) | |
rack-test (0.6.2) | |
rails (4.0.2) | |
railties (4.0.2) | |
rake (10.3.2, 10.1.0) | |
rdoc (4.1.1, 4.1.0) | |
responders (1.1.2) | |
rspec-core (2.14.8) | |
rspec-expectations (2.14.5) | |
rspec-mocks (2.14.6) | |
rspec-rails (2.14.2) | |
rubygems-bundler (1.4.4) | |
rvm (1.11.3.9) | |
sass (3.2.19) | |
sass-rails (4.0.3) | |
sdoc (0.4.0) | |
shoulda-matchers (2.8.0, 2.6.1) | |
simple_form (3.1.1, 3.0.2) | |
sprockets (2.11.0) | |
sprockets-rails (2.0.1) | |
sqlite3 (1.3.9) | |
test-unit (2.1.2.0) | |
thor (0.19.1) | |
thread_safe (0.3.4) | |
tilt (1.4.1) | |
treetop (1.4.15) | |
tzinfo (0.3.39) | |
uglifier (2.5.1) | |
warden (1.2.3) | |
soshea-mbpr:market_place_api sean.oshea$ | |
soshea-mbpr:market_place_api sean.oshea$ bundle exec rspec spec/models/user_spec.rb | |
FFFF | |
Failures: | |
1) User | |
Failure/Error: before { @user = FactoryGirl.build(:user) } | |
NameError: | |
uninitialized constant FFaker | |
# ./spec/factories/users.rb:5:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:4:in `block (2 levels) in <top (required)>' | |
2) User | |
Failure/Error: before { @user = FactoryGirl.build(:user) } | |
NameError: | |
uninitialized constant FFaker | |
# ./spec/factories/users.rb:5:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:4:in `block (2 levels) in <top (required)>' | |
3) User | |
Failure/Error: before { @user = FactoryGirl.build(:user) } | |
NameError: | |
uninitialized constant FFaker | |
# ./spec/factories/users.rb:5:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:4:in `block (2 levels) in <top (required)>' | |
4) User | |
Failure/Error: before { @user = FactoryGirl.build(:user) } | |
NameError: | |
uninitialized constant FFaker | |
# ./spec/factories/users.rb:5:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:4:in `block (2 levels) in <top (required)>' | |
Finished in 0.00714 seconds | |
4 examples, 4 failures | |
Failed examples: | |
rspec ./spec/models/user_spec.rb:8 # User | |
rspec ./spec/models/user_spec.rb:9 # User | |
rspec ./spec/models/user_spec.rb:10 # User | |
rspec ./spec/models/user_spec.rb:12 # User | |
Randomized with seed 5368 | |
soshea-mbpr:market_place_api sean.oshea$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just update the spec/factories/users.rb and instead of FFaker put Faker