textiled = false
-
Chris Wanstrath
- State changed from new to open
What version of Rails?
Oh, and these tests suck. I may have to update them -- there is srsly no need for a database to be involved. What was I thinking!
-
Hugh
Rails 1.2.3, Ruby 1.8.5
The two test failures:
1) Failure: test_assocation_textile_toggle(TestTextiled) [vendor/plugins/acts_as_textiled/test/test_textiled.rb:81]: <"\"RedHanded\":http://redhanded.hobix.com"> expected but was <"<a href=\"http://redhanded.hobix.com\">RedHanded</a>">. 2) Failure: test_desc_toggle_textile(TestTextiled) [vendor/plugins/acts_as_textiled/test/test_textiled.rb:53]: <"__Beautify__ your IRb prompt"> expected but was <"<i>Beautify</i> your <strong>IRb</strong> prompt">.Also I've confirmed that textiled = false does not work in the console:
>> p = Product.new(:title => "Test Product", :description => "This is a test product") => #<Product:0x3506ccc @textiled={"title"=>nil, "description"=>nil}, new_recordtrue, attributes{"title"=>"Test Product", "description"=>"This is a test product"} >> p.description => "<p>This is a <em>test</em> product</p>" >> p.textiled = false => false >> p.description => "<p>This is a <em>test</em> product</p>" -
Chris Wanstrath
- State changed from open to resolved
Okay, try now. Refactored tests, fixed that bug, etc. Thanks.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.