Skip to content

Commit

Permalink
update spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Jul 4, 2016
1 parent 115134f commit af1f467
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20160627232316) do
ActiveRecord::Schema.define(version: 20160703185015) do

create_table "accepts", force: :cascade do |t|
t.integer "basket_id"
Expand Down Expand Up @@ -876,11 +876,12 @@

create_table "message_transitions", force: :cascade do |t|
t.string "to_state"
t.text "metadata", default: "{}"
t.text "metadata", default: "{}"
t.integer "sort_key"
t.integer "message_id"
t.datetime "created_at"
t.datetime "updated_at"
t.boolean "most_recent"
end

add_index "message_transitions", ["message_id"], name: "index_message_transitions_on_message_id"
Expand Down
1 change: 1 addition & 0 deletions spec/views/profiles/index.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
assign(:profiles, Profile.page(1))
admin = User.friendly.find('enjuadmin')
view.stub(:current_user).and_return(admin)
view.stub(:params).and_return(ActionController::Parameters.new)
end

it "renders a list of profiles" do
Expand Down

0 comments on commit af1f467

Please sign in to comment.