diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-12-03 15:47:26 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-12-03 15:47:26 +0300 |
commit | bec4740f30425aa7d0db30c7afa846a151091c2a (patch) | |
tree | bd1b4ea1fbbe95739c1defbe8f7424fb5bfdeb10 /spec/models/commit_status_spec.rb | |
parent | 328d1a93857852bc897b472b0eba57e9a977b133 (diff) |
Fix the coding style
Diffstat (limited to 'spec/models/commit_status_spec.rb')
-rw-r--r-- | spec/models/commit_status_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/commit_status_spec.rb b/spec/models/commit_status_spec.rb index e7944c1b331..cc3292b813e 100644 --- a/spec/models/commit_status_spec.rb +++ b/spec/models/commit_status_spec.rb @@ -1,6 +1,8 @@ require 'spec_helper' describe CommitStatus do + it_behaves_like 'Unique enum values' + set(:project) { create(:project, :repository) } set(:pipeline) do @@ -29,8 +31,6 @@ describe CommitStatus do it { is_expected.to respond_to :running? } it { is_expected.to respond_to :pending? } - it_behaves_like 'Unique enum values' - describe '#author' do subject { commit_status.author } |