Hello,
I am trying to spec an action in a controller, and rspec doesn't find
a route.
It seems that problem is in ":viewtype". If I change a line
"/:viewtype/asset/add"
into "/context/asset/add" in routes it works.
I tried also
post "/context/asset/add", no luck.
Could you please let me know how
>> How do I actually use real, pre-existing Rails fixtures, the same as
>> the unit tests use? For familiarity?
What I was missing is the regular use of fixtures as in rspec or test
unit, like so:
u = users(:bob)
u.email = "aaa"
u.should_not be_valid
This link
>
> http://wiki.github.com/aslak
I've updated http://wiki.github.com/aslakhellesoy/cucumber/fixtures
accordingly.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Ok. I've created failing example.
Just create project directory and spec directory into it and add there
one spec file:
describe "autospec" do
it "fails" do
"hi".should eql("hello")
end
end
It fails, but for autotest it is still green (thus making growl and
snar
On Tue, Jun 2, 2009 at 11:07 AM, Jarmo Pertman wrote:
> Ok. I've created failing example.
>
> Just create project directory and spec directory into it and add there
> one spec file:
>
> describe "autospec" do
>
> it "fails" do
> "hi".should eql("hello")
> end
>
> end
>
Done at
https://rspec.lighthouseapp.com/projects/5645-rspec/tickets/832-autotest-not-detecting-failing-examples-correctly-when-matcher-outputs-multiple-lines-of-information
I started even before you've replied, because that bugged me too
much :)
Jarmo
On Jun 2, 7:50 pm, David Chelimsky wrote:
>