Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+ render_as examples, + special format examples

  • Loading branch information...
commit 38388a525919b658af1502accac65a99b657857a 1 parent 58ace9c
@floere authored
View
4 gem/Rakefile
@@ -16,13 +16,13 @@ task :default => :spec
task :spec => [:'shared:spec', :'rails:spec', :'padrino:spec']
task :'rails:spec' => [:'rails2:spec'] # TODO Add Rails 3 here
-%w|shared rails2 padrino|.collect!(&:to_sym).each do |framework|
+%w|shared padrino rails2|.collect!(&:to_sym).each do |framework|
namespace framework do
# run with rake spec
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = %w{--colour --format progress --loadby mtime --reverse}
- t.spec_files = Dir.glob("#{framework}/spec/**/*_spec.rb")
+ t.spec_files = Dir.glob("lib/#{framework}/spec/**/*_spec.rb")
t.warning = false
end
View
3  rails235/app/views/view_models/book/_list_item.haml
@@ -1,2 +1 @@
-%h3= view_model.header
-%p= view_model.description
+= "Book: #{view_model.header}, #{view_model.description}"
View
3  rails235/app/views/view_models/item/_list_item.haml
@@ -1,2 +1 @@
-%h3= view_model.header
-%p= view_model.description
+= "#{view_model.header}, #{view_model.description}"
Please sign in to comment.
Something went wrong with that request. Please try again.