diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-03-21 09:09:59 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-03-21 09:09:59 +0100 |
commit | 261569b2466e455ff308cc54fb1db51bc8dc2880 (patch) | |
tree | d150ac6c11c189e36d6d79f315c58f047574f6b9 /spec | |
parent | b689e2c0e0d0ad4303d99150c843ef914f1fd516 (diff) | |
download | gitlab-ce-261569b2466e455ff308cc54fb1db51bc8dc2880.tar.gz |
Fix specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/projects/avatars_controller_spec.rb | 2 | ||||
-rw-r--r-- | spec/factories/broadcast_messages.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/projects/avatars_controller_spec.rb b/spec/controllers/projects/avatars_controller_spec.rb index e79b46a3504..4d724ca9ed0 100644 --- a/spec/controllers/projects/avatars_controller_spec.rb +++ b/spec/controllers/projects/avatars_controller_spec.rb @@ -6,7 +6,7 @@ describe Projects::AvatarsController do before do sign_in(user) - project.team << [user, :developer] + project.team << [user, :master] controller.instance_variable_set(:@project, project) end diff --git a/spec/factories/broadcast_messages.rb b/spec/factories/broadcast_messages.rb index 373ca75467e..c80e7366551 100644 --- a/spec/factories/broadcast_messages.rb +++ b/spec/factories/broadcast_messages.rb @@ -15,7 +15,7 @@ FactoryGirl.define do factory :broadcast_message do message "MyText" - starts_at Date.today + starts_at Date.yesterday ends_at Date.tomorrow trait :expired do |