Skip to content

Commit

Permalink
No longer need to require factory_girl_rails, refinerycms-testing does.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed May 20, 2015
1 parent c0af1f3 commit fd848a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion spec/factories/inquiry.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require "factory_girl"

FactoryGirl.define do
factory :inquiry, class: Refinery::Inquiries::Inquiry do
factory :inquiry, class: "Refinery::Inquiries::Inquiry" do
name "Refinery"
email "[email protected]"
message "Hello..."
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

require 'rspec/rails'
require 'capybara/rspec'
require 'factory_girl_rails'
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist

Expand Down

0 comments on commit fd848a6

Please sign in to comment.