Fix more tests

pull/8068/head
Oliver Günther 5 years ago
parent 1d2a30be6b
commit 074fd04052
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      modules/bim/spec/features/bcf_export_spec.rb
  2. 2
      spec/features/work_packages/navigation_spec.rb

@ -30,7 +30,7 @@ require 'spec_helper'
describe 'work package export', type: :feature, js: true do
let(:status) { FactoryBot.create(:status, name: 'New', is_default: true) }
let(:closed_status) { FactoryBot.create(:closed_status, name: 'Closed') }
let(:project) { FactoryBot.create :project, enabled_module_names: [:bim] }
let(:project) { FactoryBot.create :project, enabled_module_names: [:bim, :work_package_tracking] }
let!(:open_work_package) { FactoryBot.create(:work_package, project: project, subject: 'Open WP', status: status) }
let!(:closed_work_package) { FactoryBot.create(:work_package, project: project, subject: 'Closed WP', status: closed_status) }

@ -30,7 +30,7 @@ require 'spec_helper'
RSpec.feature 'Work package navigation', js: true, selenium: true do
let(:user) { FactoryBot.create(:admin) }
let(:project) { FactoryBot.create(:project, name: 'Some project') }
let(:project) { FactoryBot.create(:project, name: 'Some project', enabled_module_names: [:work_package_tracking]) }
let(:work_package) { FactoryBot.build(:work_package, project: project) }
let(:global_html_title) { ::Components::HtmlTitle.new }
let(:project_html_title) { ::Components::HtmlTitle.new project }

Loading…
Cancel
Save