Unverified Commit 5e3ab252 authored by Philip Arndt's avatar Philip Arndt
Browse files

Update to FactoryBot, add listen gem

parent 9fed5901
......@@ -10,6 +10,8 @@ git 'https://github.com/refinery/refinerycms', :branch => 'master' do
end
end
gem 'listen'
# Database Configuration
unless ENV['TRAVIS']
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0.rc1', platform: :jruby
......
......@@ -12,7 +12,7 @@ module Refinery
end
describe "images extension" do
let!(:image) { FactoryGirl.create(:image) }
let!(:image) { FactoryBot.create(:image) }
before do
visit refinery.admin_images_path
end
......@@ -31,7 +31,7 @@ module Refinery
describe "resources extension" do
before do
FactoryGirl.create(:resource)
FactoryBot.create(:resource)
visit refinery.admin_resources_path
end
......@@ -46,7 +46,7 @@ module Refinery
describe "pages extension" do
before do
FactoryGirl.create(:page, :title => "Téléphone")
FactoryBot.create(:page, :title => "Téléphone")
visit refinery.admin_pages_path
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment