utensils 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,6 +19,7 @@ require 'utensils/capybara_javascript'
19
19
  require 'utensils/custom_matchers'
20
20
  require 'utensils/database_cleaner'
21
21
  require 'utensils/factory_girl'
22
+ require 'utensils/spring'
22
23
  require 'utensils/timecop'
23
24
  require 'utensils/upload_macros'
24
25
  require 'utensils/vcr'
@@ -66,6 +67,10 @@ FactoryGirl.create(:post)
66
67
  create(:post)
67
68
  ```
68
69
 
70
+ ### spring
71
+
72
+ Reloads factories because spring doesn't
73
+
69
74
  ### timecop
70
75
 
71
76
  Resets timecop after each spec
@@ -0,0 +1,5 @@
1
+ RSpec.configure do |config|
2
+ config.before(:all) do
3
+ FactoryGirl.reload
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Utensils
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utensils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
5
4
  prerelease:
5
+ version: 0.0.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jens Balvig
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-20 00:00:00.000000000 Z
12
+ date: 2013-04-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Rspec stuff we use over and over again
15
15
  email:
@@ -29,6 +29,7 @@ files:
29
29
  - lib/utensils/custom_matchers.rb
30
30
  - lib/utensils/database_cleaner.rb
31
31
  - lib/utensils/factory_girl.rb
32
+ - lib/utensils/spring.rb
32
33
  - lib/utensils/timecop.rb
33
34
  - lib/utensils/upload_macros.rb
34
35
  - lib/utensils/vcr.rb
@@ -41,17 +42,17 @@ rdoc_options: []
41
42
  require_paths:
42
43
  - lib
43
44
  required_ruby_version: !ruby/object:Gem::Requirement
44
- none: false
45
45
  requirements:
46
46
  - - ! '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
- required_rubygems_version: !ruby/object:Gem::Requirement
50
49
  none: false
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ none: false
55
56
  requirements: []
56
57
  rubyforge_project:
57
58
  rubygems_version: 1.8.23