Permalink
Browse files

Add spec for Virtus::Coercion::String.to_symbol

  • Loading branch information...
1 parent 80fdaf2 commit 73e68233a88b21f75666bb795942cc7b528dc041 @solnic committed Mar 19, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 spec/unit/virtus/coercion/string/class_methods/to_symbol_spec.rb
@@ -1,5 +1,10 @@
require 'spec_helper'
describe Virtus::Coercion::String, '.to_symbol' do
- it 'should have spec'
+ subject { described_class.to_symbol(value) }
+
+ let(:value) { 'value' }
+
+ it { should be(:value) }
end
+

0 comments on commit 73e6823

Please sign in to comment.