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 ...@@ -10,6 +10,8 @@ git 'https://github.com/refinery/refinerycms', :branch => 'master' do
end end
end end
gem 'listen'
# Database Configuration # Database Configuration
unless ENV['TRAVIS'] unless ENV['TRAVIS']
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0.rc1', platform: :jruby gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0.rc1', platform: :jruby
......
...@@ -12,7 +12,7 @@ module Refinery ...@@ -12,7 +12,7 @@ module Refinery
end end
describe "images extension" do describe "images extension" do
let!(:image) { FactoryGirl.create(:image) } let!(:image) { FactoryBot.create(:image) }
before do before do
visit refinery.admin_images_path visit refinery.admin_images_path
end end
...@@ -31,7 +31,7 @@ module Refinery ...@@ -31,7 +31,7 @@ module Refinery
describe "resources extension" do describe "resources extension" do
before do before do
FactoryGirl.create(:resource) FactoryBot.create(:resource)
visit refinery.admin_resources_path visit refinery.admin_resources_path
end end
...@@ -46,7 +46,7 @@ module Refinery ...@@ -46,7 +46,7 @@ module Refinery
describe "pages extension" do describe "pages extension" do
before do before do
FactoryGirl.create(:page, :title => "Téléphone") FactoryBot.create(:page, :title => "Téléphone")
visit refinery.admin_pages_path visit refinery.admin_pages_path
end 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