search for: my_fixtur

Displaying 2 results from an estimated 2 matches for "my_fixtur".

Did you mean: my_fixture
2007 Feb 28
2
Fixture name not available as class variable in spec
Hi there, I can''t seem to access the fixture name as a class variable from my specs. I have to set the variable in the spec setup. ... [fixtures] my_fixture: id: 1 ... [rpsec] @my_fixture.id.should == 1 ... [error] You have a nil object when you didn''t expect it! The error occurred while evaluating nil.id ... [my setup] RSpec-0.7.5.1 (r1395) - BDD for Ruby Rails 1.2.2 Latest rspec_on_rails plugin Is this this a bug or a feature ? K...
2006 Jan 11
4
Help with Non-model classes
Hey guys, I''ve been trying to teach myself Rails by building a relatively complex app for work. I''ve started it twice and now I''m thinking about restarting it a third time. I need some help with some of my code. I''m creating an app to help us manage time. We have a number of developers on a number of teams who are assigned to any number of projects