Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-13 03:47:06 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-13 03:47:06 +0300
commit1343b2dfac288eb60d536cc3d1a94de1eb178b51 (patch)
tree9b593febf0ca24c2ae4c68fa4a44e058dd512f94 /spec/models/service_spec.rb
parentf9880c11f754c278cbd00eb34ea65e90160571db (diff)
parent686000446639fbf0756733c822a1ebb19e09e121 (diff)
Merge pull request #8785 from jvanbaarsen/rspec-upgrade
Rspec upgrade
Diffstat (limited to 'spec/models/service_spec.rb')
-rw-r--r--spec/models/service_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/service_spec.rb b/spec/models/service_spec.rb
index 1df34f56cf1..9a1248055b1 100644
--- a/spec/models/service_spec.rb
+++ b/spec/models/service_spec.rb
@@ -18,8 +18,8 @@ require 'spec_helper'
describe Service do
describe "Associations" do
- it { should belong_to :project }
- it { should have_one :service_hook }
+ it { is_expected.to belong_to :project }
+ it { is_expected.to have_one :service_hook }
end
describe "Mass assignment" do
@@ -41,7 +41,7 @@ describe Service do
end
describe :can_test do
- it { @testable.should == true }
+ it { expect(@testable).to eq(true) }
end
end
@@ -56,7 +56,7 @@ describe Service do
end
describe :can_test do
- it { @testable.should == true }
+ it { expect(@testable).to eq(true) }
end
end
end