Skip to content

Commit

Permalink
Pathname needs .to_s
Browse files Browse the repository at this point in the history
  • Loading branch information
martinemde committed Apr 28, 2012
1 parent 09ac5f7 commit 905f0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/sqlite3_deploy_spec.rb
Expand Up @@ -23,7 +23,7 @@

it 'should put a reference to a shared database in database.sqlite3.yml' do
contents = @release_path.join('config', 'database.yml').read
contents.should include(@shared_path.join('databases', "#{@framework_env}.sqlite3").expand_path)
contents.should include(@shared_path.join('databases', "#{@framework_env}.sqlite3").expand_path.to_s)
end

it 'should create the shared database' do
Expand Down

0 comments on commit 905f0b3

Please sign in to comment.