noodall-form-builder 0.3.0 → 0.3.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.
@@ -24,7 +24,7 @@ module Noodall
24
24
 
25
25
  def correct_fields?
26
26
  self.form.fields.each do |f|
27
- return false unless self.respond_to?(f.name.downcase.to_sym)
27
+ return false unless self.respond_to?(f.name.downcase.parameterize("_").to_sym)
28
28
  end
29
29
  return true
30
30
  end
@@ -32,7 +32,7 @@ Capybara.default_selector = :css
32
32
  # pages, more or less in the same way your application would behave in the
33
33
  # default production environment. It's not recommended to do this for all
34
34
  # of your scenarios, as this makes it hard to discover errors in your application.
35
- ActionController::Base.allow_rescue = false
35
+ # ActionController::Base.allow_rescue = false
36
36
 
37
37
  # How to clean your database when transactions are turned off. See
38
38
  # http://github.com/bmabey/database_cleaner for more info.
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module FormBuilder
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  Factory.define :field, :class => Noodall::Field do |field|
2
- field.name {Faker::Lorem.words(1).join()}
2
+ field.name {Faker::Lorem.words(2).join(' ')}
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-form-builder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steve England
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-07-12 00:00:00 +01:00
20
+ date: 2011-07-13 00:00:00 +01:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency