Add resque_spec to test queuing mail.
This commit is contained in:
parent
6617eaaf9b
commit
5303cc285a
6 changed files with 13 additions and 2 deletions
|
@ -88,6 +88,7 @@ describe "Admin::Projects" do
|
|||
fill_in 'Name', :with => 'NewProject'
|
||||
fill_in 'Code', :with => 'NPR'
|
||||
fill_in 'Path', :with => 'gitlabhq_1'
|
||||
fill_in 'Description', :with => 'New Project Description'
|
||||
expect { click_button "Save" }.to change { Project.count }.by(1)
|
||||
@project = Project.last
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue