> describe BbPostsController do
>   context "test" do
>     fixtures :bb_posts, :users
>     it "should create post" do
>       User.find_by_login("amit").should_not be_nil
>       post = create_post
>       post.should be_valid
>     end
>   end
> end
> 
> (that's an odd spec but let's try to get your fixtures loading first :)
> 
> Pat

Thanks a lot Pat.It worked.
And fixtures were also loaded successfully.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to