spec/app/models/reader.rb in unread-0.7.0 vs spec/app/models/reader.rb in unread-0.7.1

- old
+ new

@@ -1,9 +1,9 @@ class Reader < ActiveRecord::Base self.primary_key = 'number' - scope :not_foo, -> { where('name <> "foo"') } - scope :not_bar, -> { where('name <> "bar"') } + scope :not_foo, -> { where("name <> 'foo'") } + scope :not_bar, -> { where("name <> 'bar'") } acts_as_reader def self.reader_scope not_foo.not_bar