summaryrefslogtreecommitdiff
path: root/spec/models/commit_range_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-25 14:58:49 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-25 14:58:49 -0400
commit165cacce163366fa3b362bb5005ed9ede346a8e1 (patch)
tree0e7d227d0abf6b1a74ad58689cef8dbd5bf6ffa6 /spec/models/commit_range_spec.rb
parent95ca6584d86e9f571c7f677ccf24487b6dd9df6f (diff)
downloadgitlab-ce-165cacce163366fa3b362bb5005ed9ede346a8e1.tar.gz
Rename `CommitRange#inclusive?` to `#exclude_start?`
Diffstat (limited to 'spec/models/commit_range_spec.rb')
-rw-r--r--spec/models/commit_range_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/commit_range_spec.rb b/spec/models/commit_range_spec.rb
index fc2982b9a33..31ee3e99cad 100644
--- a/spec/models/commit_range_spec.rb
+++ b/spec/models/commit_range_spec.rb
@@ -45,13 +45,13 @@ describe CommitRange do
end
end
- describe '#inclusive?' do
+ describe '#exclude_start?' do
it 'is false for three-dot ranges' do
- expect(range).not_to be_inclusive
+ expect(range.exclude_start?).to eq false
end
it 'is true for two-dot ranges' do
- expect(range2).to be_inclusive
+ expect(range2.exclude_start?).to eq true
end
end