Skip to content

Commit

Permalink
This is also a model
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed May 13, 2014
1 parent be6ff39 commit 392e627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/application/configuration_test.rb
Expand Up @@ -360,7 +360,7 @@ def index
test "default method for update can be changed" do
app_file 'app/models/post.rb', <<-RUBY
class Post
extend ActiveModel::Naming
include ActiveModel::Model
def to_key; [1]; end
def persisted?; true; end
end
Expand Down

0 comments on commit 392e627

Please sign in to comment.