Skip to content

Commit

Permalink
Add failing test for mapping scope interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyd committed May 6, 2014
1 parent a9f29a8 commit 09aceb5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/models/mapping_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,14 @@
['/path-3', 40 * 3 + 30 * 3]
]
end

it 'plays nicely with tagging' do
m = Mapping.first
m.tag_list = ['foo']
m.save!

expect { @mappings.tagged_with('foo').any? }.to_not raise_error
end
end
end

Expand Down

0 comments on commit 09aceb5

Please sign in to comment.