Skip to content

Instantly share code, notes, and snippets.

View ericgross's full-sized avatar

Eric Gross ericgross

  • Whidbey Island, WA
View GitHub Profile
@johnwook
johnwook / README.md
Last active June 21, 2018 07:20
Spree test environment setting with rspec, factory_girl_rails and spring

Environment

  • rspec-rails (3.3.3)
  • factory_girl_rails (4.5.0)
  • spring (1.4.0)
  • spring-commands-rspec (1.0.4)

Problem

  • spring rspec generates errors with spree-generated-factories when it is used the way like require 'spree/testing_support/factories')

Solution