spec/models/archangel/entry_spec.rb in archangel-0.0.7 vs spec/models/archangel/entry_spec.rb in archangel-0.0.8

- old
+ new

@@ -37,26 +37,26 @@ expect(entry.available?).to be_falsey end end - context "#available_status" do + context "#status" do it "returns `unavailable` for Entries not available" do entry = build(:entry, :unavailable) - expect(entry.available_status).to eq("unavailable") + expect(entry.status).to eq("unavailable") end it "returns `future-available` for Entries available in the future" do entry = build(:entry, :future) - expect(entry.available_status).to eq("future-available") + expect(entry.status).to eq("future-available") end it "returns `available` for Entries available in the past" do entry = build(:entry) - expect(entry.available_status).to eq("available") + expect(entry.status).to eq("available") end end end end