mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
assert response body based on spec examples
This commit is contained in:
10
spec/dummy/db/migrate/20160218212104_create_blogs.rb
Normal file
10
spec/dummy/db/migrate/20160218212104_create_blogs.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateBlogs < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :blogs do |t|
|
||||
t.string :title
|
||||
t.text :content
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user