Displaying 3 results from an estimated 3 matches for "lostboys".
2007 Dec 17
14
Change in isolation behaviour 1.08 - 1.10 ?
...to a change in behaviour?
Here''s my spec (removed some passing examples)
require File.dirname(__FILE__) + ''/../spec_helper''
describe "A user" do
before(:each) do
@user = User.new
@valid_user = User.new(
:email => ''bert.valid at lostboys.nl'',
:fname => ''bert'',
:lname => ''valid'',
:jobtitle => "programmer"
)
end
it "should have a unique email address" do
@valid_user.save.should == true
@user.email = @valid_user.email...
2006 Aug 14
1
rake test:units -> table already exists
Hi!
When I run test:units, rails complains about the tables already being
present. They had to be present so I could run individual unit tests. So
why doesn''t rails just drop the tables if they exist?
Any ideas??
Jeroen
debug oupt below:
>rake test:units --trace
(in ...)
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
2006 Aug 10
1
ActionMailer attachment troubels
Hi!
As per the API Docs, I''ve put this in my Actionmailer class
attachment :content_type => "application/csv",
:body => File.read(filename), :content_disposition => ''test.csv''
The email arrives okay and all but the filename is ignored and the
newlines in my CSV file are gone (replaced by something else).
I must admit I''m receiving