Commit 8bab691035540b8c283a23cb7076ada02ffaac8a
Exists in
master
and in
1 other branch
Merge pull request #965 from rud/chore/rspec-random-order
RSpec: run in random order
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
.rspec
spec/models/notification_service/notification_service_spec.rb
... | ... | @@ -9,7 +9,7 @@ describe NotificationServices, type: 'model' do |
9 | 9 | end |
10 | 10 | |
11 | 11 | it "it should use the protocol value specified in the config in #problem_url" do |
12 | - Errbit::Config.protocol = 'https' | |
12 | + allow(Errbit::Config).to receive(:protocol).and_return('https') | |
13 | 13 | expect(notification_service.problem_url(problem)).to start_with 'https://' |
14 | 14 | end |
15 | 15 | end | ... | ... |