Last active
September 28, 2015 19:59
-
-
Save no-itsbackpack/ab854cb29fb379c33609 to your computer and use it in GitHub Desktop.
Revisions
-
paddingtons_bear revised this gist
Sep 28, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ desc 'example rake test that only runs in dev and test' namespace :test do task :do_something do if Rails.env.development? || Rails.env.test? "do your stuff here" end end -
paddingtons_bear revised this gist
Sep 28, 2015 . 1 changed file with 10 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,14 @@ #test.rake desc 'example rake test that only runs in dev and test' namespace :test do task :do_something do if Rails.env.development? && Rails.env.test? "do your stuff here" end end end # ./Rakefile task test: %w(test:do_something) task default: [:test] -
paddingtons_bear created this gist
Sep 28, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ```ruby test.rake namespace :test do task :do_something do if Rails.env.development? && Rails.env.test? "do your stuff here" end end end end ```