Adding launchy to put save_and_open_page in capybara specs, fixing many red tests by removing/changing expectations according to new UI. Need to pursue on spec/features/backoffice/flux_de_commentaires_spec.rb (not priority), and spec/controllers/root_controller_spec.rb (unkonw)
This commit is contained in:
parent
dff90d2cf7
commit
22a59123c1
21 changed files with 32 additions and 357 deletions
|
@ -40,10 +40,6 @@ describe 'users/dossiers/index.html.haml', type: :view do
|
|||
end
|
||||
|
||||
it { expect(dossiers_to_display.count).to eq total_dossiers }
|
||||
|
||||
describe 'active tab' do
|
||||
it { is_expected.to have_selector(active_class) }
|
||||
end
|
||||
end
|
||||
|
||||
describe 'on tab en construction' do
|
||||
|
@ -120,4 +116,4 @@ describe 'users/dossiers/index.html.haml', type: :view do
|
|||
let(:decorate_dossier_at_check) { decorate_dossier_invite }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue