Skip to content
This repository
Browse code

+ render_as examples, + special format examples

  • Loading branch information...
commit 38388a525919b658af1502accac65a99b657857a 1 parent 58ace9c
Florian R. Hanke authored
4 gem/Rakefile
@@ -16,13 +16,13 @@ task :default => :spec
16 16 task :spec => [:'shared:spec', :'rails:spec', :'padrino:spec']
17 17 task :'rails:spec' => [:'rails2:spec'] # TODO Add Rails 3 here
18 18
19   -%w|shared rails2 padrino|.collect!(&:to_sym).each do |framework|
  19 +%w|shared padrino rails2|.collect!(&:to_sym).each do |framework|
20 20 namespace framework do
21 21
22 22 # run with rake spec
23 23 Spec::Rake::SpecTask.new(:spec) do |t|
24 24 t.spec_opts = %w{--colour --format progress --loadby mtime --reverse}
25   - t.spec_files = Dir.glob("#{framework}/spec/**/*_spec.rb")
  25 + t.spec_files = Dir.glob("lib/#{framework}/spec/**/*_spec.rb")
26 26 t.warning = false
27 27 end
28 28
3  rails235/app/views/view_models/book/_list_item.haml
... ... @@ -1,2 +1 @@
1   -%h3= view_model.header
2   -%p= view_model.description
  1 += "Book: #{view_model.header}, #{view_model.description}"
3  rails235/app/views/view_models/item/_list_item.haml
... ... @@ -1,2 +1 @@
1   -%h3= view_model.header
2   -%p= view_model.description
  1 += "#{view_model.header}, #{view_model.description}"

0 comments on commit 38388a5

Please sign in to comment.
Something went wrong with that request. Please try again.