Skip to content

Commit

Permalink
Add
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Jun 19, 2014
1 parent cb59db3 commit a756012
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
FileUtils.cp('main_writable.sqlite3', 'main_readonly.sqlite3')

Note.connection.execute('CREATE TABLE notes (id integer primary key autoincrement)')

Nanika3.connection.execute('CREATE TABLE nanika3s (id integer primary key)')
end

config.after(:suite) do
Expand All @@ -54,6 +56,8 @@
Book.delete_all
end
FileUtils.cp('main_writable.sqlite3', 'main_readonly.sqlite3')

Nanika3.delete_all
end
end

Expand Down

0 comments on commit a756012

Please sign in to comment.