Permalink
Browse files

+ render_as examples, + special format examples

  • Loading branch information...
1 parent 58ace9c commit 38388a525919b658af1502accac65a99b657857a @floere committed Jul 18, 2010
View
@@ -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
@@ -1,2 +1 @@
-%h3= view_model.header
-%p= view_model.description
+= "Book: #{view_model.header}, #{view_model.description}"
@@ -1,2 +1 @@
-%h3= view_model.header
-%p= view_model.description
+= "#{view_model.header}, #{view_model.description}"

0 comments on commit 38388a5

Please sign in to comment.