A small project to illustrate an issue with FactoryGirl gem
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.gitignore
.rspec
.rubocop.yml
.ruby-version
.slim-lint.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

FactoryGirl Problem

This is a project to illustrate my problem with 1-1 associations and FactoryGirl.

I left my my code and tests commented it that I'd like to solve in the future.

The problem is illustrated here

Description:

Run the following

bundle install

bundle exec rake

The commented out spec is my issue, along with the line in app/models/user.rb