dancroak-webster 0.4.5 → 0.4.6

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.
Files changed (2) hide show
  1. data/shoulda_macros/webster.rb +3 -3
  2. metadata +1 -1
@@ -1,4 +1,4 @@
1
- class Webster
1
+ module Webster
2
2
  module Shoulda
3
3
  # Example:
4
4
  # context "Subscription#activation_code" do
@@ -24,7 +24,7 @@ class Webster
24
24
  "but is #{word.length} characters long."
25
25
  assert_no_match /\n/, word,
26
26
  "#{word} contains a carriage return."
27
- assert Webster.new.dictionary.include?(word),
27
+ assert Webster::DICTIONARY.include?(word),
28
28
  "#{word} should be a word in the Webster dictionary"
29
29
  end
30
30
  end
@@ -32,4 +32,4 @@ class Webster
32
32
  end
33
33
  end
34
34
 
35
- Test::Unit::TestCase.extend(Webster::Shoulda)
35
+ Test::Unit::TestCase.extend(Webster::Shoulda)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dancroak-webster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Croak