Skip to content
Browse files

Rename common specs

  • Loading branch information...
1 parent 6beafd1 commit b108344c9e6095d6e97038f6249980ac755d1ff3 @xaviershay xaviershay committed Nov 1, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 dm-serializer/spec/unit/interface_spec.rb
4 dm-serializer/spec/unit/interface_spec.rb
@@ -1,10 +1,10 @@
require 'pathname'
require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper'
-describe 'common interface' do
+describe DataMapper::Serialize do
def self.each_method(message, &block)
[Harness::ToXml, Harness::ToJson].collect {|x| }.each do |harness|
- describe harness.method_name do
+ describe "##{harness.method_name}" do
it(message) do
self.class.send(:define_method, :harness) do

0 comments on commit b108344

Please sign in to comment.
Something went wrong with that request. Please try again.