diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-07 10:33:48 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-07 10:33:48 -0500 |
commit | 2a771d570a3ce523b2e9c9ce435476fa093d161f (patch) | |
tree | 07717d7f4b8f1126f761e0193307eb2b25f4e80e /spec | |
parent | bea1aba9caff0b19bc08004cfb80cb9e5f1b6b89 (diff) | |
download | gitlab-ce-2a771d570a3ce523b2e9c9ce435476fa093d161f.tar.gz |
Fix view spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/views/projects/notes/_form.html.haml_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/projects/notes/_form.html.haml_spec.rb b/spec/views/projects/notes/_form.html.haml_spec.rb index b61f016967f..a364f9bce92 100644 --- a/spec/views/projects/notes/_form.html.haml_spec.rb +++ b/spec/views/projects/notes/_form.html.haml_spec.rb @@ -4,7 +4,7 @@ describe 'projects/notes/_form' do include Devise::Test::ControllerHelpers let(:user) { create(:user) } - let(:project) { create(:empty_project) } + let(:project) { create(:project, :repository) } before do project.team << [user, :master] @@ -20,7 +20,7 @@ describe 'projects/notes/_form' do context "with a note on #{noteable}" do let(:note) { build(:"note_on_#{noteable}", project: project) } - it 'says that only markdown is supported, not slash commands' do + it 'says that markdown and slash commands are supported' do expect(rendered).to have_content('Markdown and slash commands are supported') end end |