spec_support 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -21,7 +21,7 @@ Example usage:
21
21
 
22
22
  describe Contact do
23
23
 
24
- context "has all columns for a full factory" do
24
+ it "has all columns for a full factory" do
25
25
  contact = FactoryGirl.create(:full_contact)
26
26
  contact = Contact.find(contact.id)
27
27
  check_all_columns(contact)
@@ -1,7 +1,6 @@
1
+ # FIXME scope this to an RSpec sub module
1
2
  def check_all_columns(instance)
2
3
  instance.class.columns.each do |column|
3
- it "has data in #{column.name} column" do
4
- instance.send(:"#{column.name}").should_not be_nil
5
- end
4
+ instance.send(:"#{column.name}").should_not be_nil
6
5
  end
7
6
  end
@@ -1,3 +1,3 @@
1
1
  module SpecSupport
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spec_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-07 00:00:00.000000000 Z
12
+ date: 2012-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &84489650 !ruby/object:Gem::Requirement
16
+ requirement: &85090780 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *84489650
24
+ version_requirements: *85090780
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &84489420 !ruby/object:Gem::Requirement
27
+ requirement: &85090560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *84489420
35
+ version_requirements: *85090560
36
36
  description: Add useful spec/support functionalities that come back in each project
37
37
  email:
38
38
  - peter@vandenabeele.com
@@ -40,10 +40,10 @@ executables: []
40
40
  extensions: []
41
41
  extra_rdoc_files: []
42
42
  files:
43
- - lib/spec_support.rb
44
- - lib/tasks/spec_support_tasks.rake
45
43
  - lib/spec_support/version.rb
46
44
  - lib/spec_support/check_all_columns.rb
45
+ - lib/spec_support.rb
46
+ - lib/tasks/spec_support_tasks.rake
47
47
  - MIT-LICENSE
48
48
  - Rakefile
49
49
  - README.rdoc
@@ -61,7 +61,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  segments:
63
63
  - 0
64
- hash: -627478417
64
+ hash: 80266003
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  none: false
67
67
  requirements:
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  version: '0'
71
71
  segments:
72
72
  - 0
73
- hash: -627478417
73
+ hash: 80266003
74
74
  requirements: []
75
75
  rubyforge_project:
76
76
  rubygems_version: 1.8.10