I have a story that executes the following (as an example to show the bug I'm experiencing):
---------------------------------------------- Given "I have a fake post saved" do @postCount = Post.find(:all).length @post = Post.new @post.employee_id = 123 @post.name = "Name of the Post" @post.description = "Description of the Post" @post.save end Given "I have visited some page" do get("/posts/") end When "I get some other page" do get('/posts/'[EMAIL PROTECTED]) end Then "my variable should still be set" do Post.find(:all).length.should == 1 + @postCount end ---------------------------------------------- It fails with "SystemStackError: stack level too deep" on the "When I get some other page" bit. If I remove the [EMAIL PROTECTED] bit, OR if I switch the order execution of the Given statements, the story works. What's going on? Is this a bug, or am I just missing something? Additionally, I've tried updating to RSpec Edge by running "script/plugin install git://github.com/dchelimsky/rspec", but I keep receiving Plugin not found: ["git://github.com/dchelimsky/rspec"]. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users