spec/adapter_spec.rb in file_model-0.0.6 vs spec/adapter_spec.rb in file_model-0.0.7
- old
+ new
@@ -2,10 +2,10 @@
require 'spec_helper'
describe "File Model" do
with_file_model
-
+
it 'should accept different formats' do
original = FileModel::Adapter.new("#{spec_dir}/file.txt").to_file
original.name.should == 'file.txt'
original.read.should == "text"
\ No newline at end of file