On 05/04/2012, at 8:02 AM, Brad Symons wrote:
> I think you have a syntactical error on the line thats throwing the
> error, you state:
>
>>j.even?should be true #throws an error on j == 2, j == 4
>
> should this line not read as:
>
> j.even?.should be true
lol
j.even?.should be
--
Curtis J Schofield
BlazingCloud.net
"Creativity can solve anything"
- George Lois
(source: art & copy)
On Apr 4, 2012, at 3:02 PM, Brad Symons wrote:
> I think you have a syntactical error on the line thats throwing the
> error, you state:
>
>>j.even?should be true #throw
I think you have a syntactical error on the line thats throwing the
error, you state:
> j.even?should be true #throws an error on j == 2, j == 4
should this line not read as:
j.even?.should be true
--
Posted via http://www.ruby-forum.com/.
_
Quoting Brad Symons :
> As I have been going through the chapters, at first the rspec tests were
> running completely fine. One of the chapters suggests installing
> blueprint stylesheet, which I did.
>
> Somewhere after that, when I write rspec tests and run bundle exec rspec
> spec, it all broke
Hi
I have been following the online rails tutorial written by Micheal
Hartl, can be found here:
http://ruby.railstutorial.org/chapters/beginning#top
As I have been going through the chapters, at first the rspec tests were
running completely fine. One of the chapters suggests installing
blueprint
On Wed, Apr 4, 2012 at 7:47 AM, Lunarose A. wrote:
> I am actually a newbie in Ruby rails nd Rspec.. So it could be something
> basic.. Plz helpp
>
>
> This is my rspec test code::
>
> describe "GET new" do
> it "assigns a new kase as @kase" do
> get :new
> assigns(:kase).should be_a
I think that maybe you are declaring your :kase in somewhere, but this
assigns need to receive a new object, you could try pass Kase.new instead
of :kase.
regards
2012/4/4 Lunarose A.
> I am actually a newbie in Ruby rails nd Rspec.. So it could be something
> basic.. Plz helpp
>
>
> This is my
I am actually a newbie in Ruby rails nd Rspec.. So it could be something
basic.. Plz helpp
This is my rspec test code::
describe "GET new" do
it "assigns a new kase as @kase" do
get :new
assigns(:kase).should be_a_new(Kase)
end
end
Its failing saying:
KasesController