You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2011/11/18 17:21:09 UTC

Joke: Added Nyan Cat formatter for Rspec

Hi,

As part of 'itsfriday' I added cure Nyan Cat[1] formatter[2] to Rakefile :-)
You need to install the gem using:

$ gem install nyan-cat-formatter

Then apply this patch and run:

$ rake spec

[1] http://www.youtube.com/watch?v=QH2-TGUlwu4
[2] https://github.com/mattsears/nyan-cat-formatter


Re: Joke: Added Nyan Cat formatter for Rspec

Posted by Francesco Vollero <ra...@gmail.com>.
On Fri, Nov 18, 2011 at 8:12 PM, David Lutterkort <lu...@redhat.com> wrote:
> On Fri, 2011-11-18 at 17:21 +0100, mfojtik@redhat.com wrote:
>> As part of 'itsfriday' I added cure Nyan Cat[1] formatter[2] to Rakefile :-)
>> You need to install the gem using:
>
> Great work ! Please don't forget to tweat about it - I believe this
> represents an excellent marketing opportunity for both Deltacloud and
> Nyan Cat. A synergy of unparalleled felicity.
>

Lol! Ok, I'll tweet about it :)

Francesco

> David
>
>
>

Re: Joke: Added Nyan Cat formatter for Rspec

Posted by David Lutterkort <lu...@redhat.com>.
On Fri, 2011-11-18 at 17:21 +0100, mfojtik@redhat.com wrote:
> As part of 'itsfriday' I added cure Nyan Cat[1] formatter[2] to Rakefile :-)
> You need to install the gem using:

Great work ! Please don't forget to tweat about it - I believe this
represents an excellent marketing opportunity for both Deltacloud and
Nyan Cat. A synergy of unparalleled felicity.

David



Re: [PATCH core] Core: Added nyan cat formatter (joke ;-)

Posted by Francesco Vollero <fv...@redhat.com>.
On Fri, Nov 18, 2011 at 05:21:10PM +0100, mfojtik@redhat.com wrote:
> From: Michal Fojtik <mf...@redhat.com>
> 
Seems really well written and allow to speed up the tests(joke). 
ACK.

Cheers,
Francesco Vollero

> 
> Signed-off-by: Michal fojtik <mf...@redhat.com>
> ---
>  server/Rakefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/server/Rakefile b/server/Rakefile
> index 53fb7bf..cdf2f8f 100644
> --- a/server/Rakefile
> +++ b/server/Rakefile
> @@ -92,7 +92,7 @@ end
>  
>  RSpec::Core::RakeTask.new do |t|
>    t.pattern = FileList['spec/**/*_spec.rb']
> -  t.rspec_opts = [ "--format", "nested", "--color", "-r ./spec/spec_helper.rb"]
> +  t.rspec_opts = [ "--format", "NyanCatFormatter", "--color", "-r ./spec/spec_helper.rb"]
>  end
>  
>  Dir['spec/**/*_spec.rb'].each do |file|
> -- 
> 1.7.4.4
> 

[PATCH core] Core: Added nyan cat formatter (joke ;-)

Posted by mf...@redhat.com.
From: Michal Fojtik <mf...@redhat.com>


Signed-off-by: Michal fojtik <mf...@redhat.com>
---
 server/Rakefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/Rakefile b/server/Rakefile
index 53fb7bf..cdf2f8f 100644
--- a/server/Rakefile
+++ b/server/Rakefile
@@ -92,7 +92,7 @@ end
 
 RSpec::Core::RakeTask.new do |t|
   t.pattern = FileList['spec/**/*_spec.rb']
-  t.rspec_opts = [ "--format", "nested", "--color", "-r ./spec/spec_helper.rb"]
+  t.rspec_opts = [ "--format", "NyanCatFormatter", "--color", "-r ./spec/spec_helper.rb"]
 end
 
 Dir['spec/**/*_spec.rb'].each do |file|
-- 
1.7.4.4