Skip to content

Commit

Permalink
rename decorator files
Browse files Browse the repository at this point in the history
  • Loading branch information
holysugar committed Apr 26, 2012
1 parent a6ec035 commit 5ad55f7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# coding: utf-8
module ItemQueriesDecorator
module ItemQueryDecorator
def query_attrs
attributes.keys.map(&:to_sym)
end
Expand Down
8 changes: 0 additions & 8 deletions spec/decorators/item_queries_decorator_spec.rb

This file was deleted.

8 changes: 8 additions & 0 deletions spec/decorators/item_query_decorator_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# coding: utf-8
require 'spec_helper'

describe ItemQueryDecorator do
let(:item_query) { ItemQuery.new.extend ItemQueryDecorator }
subject { item_query }
it { should be_a ItemQuery }
end

0 comments on commit 5ad55f7

Please sign in to comment.