corrected some spec dependencies
This commit is contained in:
parent
5607936540
commit
2aeb90721e
4 changed files with 8 additions and 4 deletions
|
@ -4,6 +4,7 @@ describe "ExtendedDocument attachments" do
|
|||
|
||||
describe "#has_attachment?" do
|
||||
before(:each) do
|
||||
reset_test_db!
|
||||
@obj = Basic.new
|
||||
@obj.save.should == true
|
||||
@file = File.open(FIXTURE_PATH + '/attachments/test.html')
|
||||
|
@ -126,4 +127,4 @@ describe "ExtendedDocument attachments" do
|
|||
@obj.attachment_url(@attachment_name).should == "#{Basic.database}/#{@obj.id}/#{@attachment_name}"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue