has_moderated 1.0.1 → 1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -597,7 +597,8 @@ describe Task do
597
597
  Task.create! :title => "Task 1"
598
598
  Moderation.first.accept
599
599
  expect { Task.create! :title => "Task 1" }.should raise_error
600
- expect { Moderation.first.accept }.should raise_error
600
+ Moderation.first.accept.should be_false
601
+ expect { Moderation.first.accept! }.should raise_error
601
602
  end
602
603
  end
603
604
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_moderated
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: '1.1'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -262,7 +262,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
262
262
  version: '0'
263
263
  segments:
264
264
  - 0
265
- hash: -284432543607110640
265
+ hash: -2351028769952493373
266
266
  required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  none: false
268
268
  requirements:
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  version: '0'
272
272
  segments:
273
273
  - 0
274
- hash: -284432543607110640
274
+ hash: -2351028769952493373
275
275
  requirements: []
276
276
  rubyforge_project:
277
277
  rubygems_version: 1.8.24