Finally solved the problem. Even though the application is Rails
2.3.5 it was started on a much earlier version and the view files were
using the old rhtml extensions. The newer auto format detection uses
html.erb, or in the case of the mailer, likes
file_name.text.html.erb. All I had to do was
On Wed, Jan 20, 2010 at 12:00 PM, Dan Steinicke wrote:
> I'm trying to use authlogic and factory_girl with rspec and I am
> getting an error I don't understand. Basically I have this failing
> spec:
>
> it "should succeed in creating a user from a factory" do
> testuser = Factory.create(:use
I'm trying to use authlogic and factory_girl with rspec and I am
getting an error I don't understand. Basically I have this failing
spec:
it "should succeed in creating a user from a factory" do
testuser = Factory.create(:user)
debugger
testuser.should be_valid
end
When I stop in
exactamundo
On Jan 20, 2010, at 7:27 AM, Corey Haines wrote:
> Is something like this what you were thinking of?
>
> http://gist.github.com/281907
>
>
On Jan 18, 2010, at 9:31 am, Pat Maddox wrote:
> define_simple_predicate_matcher :rise_from_the_ashes?
As an extensio
Is something like this what you were thinking of?
http://gist.github.com/281907
>>> On Jan 18, 2010, at 9:31 am, Pat Maddox wrote:
>>>
define_simple_predicate_matcher :rise_from_the_ashes?
>>>
>>> As an extension, how about:
>>>
>>> define_simple_predicate_matcher :risen_from_the_ashes =>
Thanks a lot David.
I generated a the output to xls with the command
"spec user_spec.rb --format progress:a.xls"
Under the xls it is displaying only those examples which are failing
like for e.g.
1)
'User User should not be created if email format is different' FAILED
expected: "Please check the
On Wed, Jan 20, 2010 at 5:03 AM, Amit Kulkarni wrote:
> Amit Kulkarni wrote:
>> Ok.Thanks a lot David
>
> Hello,
> Is there any way to display rspec result in .csv or .xls format.
You can write a custom formatter and invoke it with:
spec spec --require my_formatter.rb --formatter MyFormatter
Amit Kulkarni wrote:
> Ok.Thanks a lot David
Hello,
Is there any way to display rspec result in .csv or .xls format.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/r