simple_nested_form 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -9,11 +9,10 @@ describe SimpleNestedForm::Builder do
|
|
9
9
|
|
10
10
|
describe "fields wrapper" do
|
11
11
|
before { project.tasks.build }
|
12
|
-
subject { builder.fields_for(:tasks) { "Task"} }
|
12
|
+
subject { Nokogiri::HTML(builder.fields_for(:tasks) { "Task" }).css("div").first.attr("class") }
|
13
13
|
|
14
|
-
it
|
15
|
-
|
16
|
-
end
|
14
|
+
it { should include "fields" }
|
15
|
+
it { should include "task" }
|
17
16
|
end
|
18
17
|
|
19
18
|
shared_examples_for "a link_to_add" do |link_name|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_nested_form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rodrigo Navarro
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-03-
|
19
|
+
date: 2011-03-09 00:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|