Commit 3bb9e3cc36ba07d77118a656f32770f6673eec5f

Authored by Cyril Mougel
1 parent 6b1cada3
Exists in master and in 1 other branch production

fix spec/controller/notices with fabrication_gem

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/controllers/notices_controller_spec.rb
... ... @@ -5,7 +5,7 @@ describe NoticesController do
5 5 context 'notices API' do
6 6 before do
7 7 @xml = Rails.root.join('spec','fixtures','hoptoad_test_notice.xml').read
8   - @app = Factory(:app_with_watcher)
  8 + @app = Fabricate(:app_with_watcher)
9 9 App.stub(:find_by_api_key!).and_return(@app)
10 10 @notice = App.report_error!(@xml)
11 11  
... ...