summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-16 21:46:26 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-16 21:46:26 +0200
commit0b1655e7b2e2aa57cb7ea8401743d709bf246074 (patch)
tree0f2846f32aec86f3d44300649b0c77f179bec0c4 /spec
parent065e0c0fe4e5e16b90c01736721e4c794b71dac9 (diff)
downloadgitlab-ce-0b1655e7b2e2aa57cb7ea8401743d709bf246074.tar.gz
Rename CiStatus to Statusable
Diffstat (limited to 'spec')
-rw-r--r--spec/models/commit_spec.rb8
-rw-r--r--spec/models/concerns/statuseable_spec.rb (renamed from spec/lib/ci/status_spec.rb)4
2 files changed, 10 insertions, 2 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index 0e9111c8029..ad47e338a33 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -163,4 +163,12 @@ eos
it { expect(commit.reverts_commit?(another_commit)).to be_truthy }
end
end
+
+ describe '#ci_commits' do
+ # TODO: kamil
+ end
+
+ describe '#status' do
+ # TODO: kamil
+ end
end
diff --git a/spec/lib/ci/status_spec.rb b/spec/models/concerns/statuseable_spec.rb
index 886b82a7afa..dacbd3034c0 100644
--- a/spec/lib/ci/status_spec.rb
+++ b/spec/models/concerns/statuseable_spec.rb
@@ -1,9 +1,9 @@
require 'spec_helper'
-describe CiStatus do
+describe Statuseable do
before do
@object = Object.new
- @object.extend(CiStatus::ClassMethods)
+ @object.extend(Statuseable::ClassMethods)
end
describe '.status' do