fusionary-easel_helpers 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/easel_helpers.gemspec +1 -1
- data/lib/easel_helpers/helpers/grid_helper.rb +1 -1
- data/test/grid_helper_test.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'rake/testtask'
|
|
3
3
|
require 'rake/rdoctask'
|
4
4
|
require 'echoe'
|
5
5
|
|
6
|
-
Echoe.new("easel_helpers", "0.2.
|
6
|
+
Echoe.new("easel_helpers", "0.2.13") do |p|
|
7
7
|
p.description = "Fusionary Rails View Helpers"
|
8
8
|
p.url = "http://github.com/fusionary/easel_helpers"
|
9
9
|
p.author = "Joshua Clayton"
|
data/easel_helpers.gemspec
CHANGED
@@ -163,7 +163,7 @@ module EaselHelpers
|
|
163
163
|
end
|
164
164
|
|
165
165
|
css_classes = clean_css_classes(css_classes, {"last" => last_column})
|
166
|
-
content_tag(options
|
166
|
+
content_tag(options.delete(:tag) || :div,
|
167
167
|
capture(&block),
|
168
168
|
{:class => css_classes}.merge(options))
|
169
169
|
end
|
data/test/grid_helper_test.rb
CHANGED
@@ -215,7 +215,7 @@ class GridHelperTest < EaselHelpers::ViewTestCase
|
|
215
215
|
|
216
216
|
should "allow tag overriding" do
|
217
217
|
show_view %(<% column :tag => :section do %>content<% end %>) do
|
218
|
-
assert_select "section.col-24", "content"
|
218
|
+
assert_select "section.col-24:not([tag=section])", "content"
|
219
219
|
end
|
220
220
|
end
|
221
221
|
end
|