spec/models/status_spec.rb in radiant-0.9.1 vs spec/models/status_spec.rb in radiant-1.0.0.rc1

- old
+ new

@@ -48,6 +48,17 @@ statuses.size.should > 0 statuses.each do |status| status.should be_kind_of(Status) end end +end + +describe Status, 'selectable' do + it "should return all statuses except 'Scheduled'" do + statuses = Status.selectable + statuses.size.should > 0 + statuses.each do |status| + status.should be_kind_of(Status) + status.name.should_not == "Scheduled" + end + end end \ No newline at end of file