Skip to content

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kookster committed May 4, 2015
1 parent 93c201f commit b709481
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/test_models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ def to_model; self; end
TestParent = Struct.new(:id, :is_root_resource) do
extend ActiveModel::Naming

def persisted?; false; end
def to_model; self; end
def persisted?
false
end

def to_model
self
end

def to_param
"#{id}"
Expand Down

0 comments on commit b709481

Please sign in to comment.