diff options
author | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-24 19:26:24 +0300 |
---|---|---|
committer | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-29 11:14:41 +0300 |
commit | 48d3e5fac63ab7514f05b14a8645c344ba3d5f2b (patch) | |
tree | 8df0efc727234be6337073410001ebb818ff0c07 /spec/models/concerns | |
parent | edd56aeaf48b119be2b29c5a03e03aa2a1152af9 (diff) |
replace `is_edited?` with `edited?`
Diffstat (limited to 'spec/models/concerns')
-rw-r--r-- | spec/models/concerns/editable_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/concerns/editable_spec.rb b/spec/models/concerns/editable_spec.rb index cd73af3b480..49a9a8ebcbc 100644 --- a/spec/models/concerns/editable_spec.rb +++ b/spec/models/concerns/editable_spec.rb @@ -1,11 +1,11 @@ require 'spec_helper' describe Editable do - describe '#is_edited?' do + describe '#edited?' do let(:issue) { create(:issue, last_edited_at: nil) } let(:edited_issue) { create(:issue, created_at: 3.days.ago, last_edited_at: 2.days.ago) } - it { expect(issue.is_edited?).to eq(false) } - it { expect(edited_issue.is_edited?).to eq(true) } + it { expect(issue.edited?).to eq(false) } + it { expect(edited_issue.edited?).to eq(true) } end end |