diff --git a/app/models/snapshot_fragment.rb b/app/models/snapshot_fragment.rb index b195b9c..a4e9201 100644 --- a/app/models/snapshot_fragment.rb +++ b/app/models/snapshot_fragment.rb @@ -1,4 +1,4 @@ -class SnapshotFragment +class SnapshotFragment # TODO: rename to Cell or SnapshotCell attr_reader :text, :brush diff --git a/spec/models/asciicast_spec.rb b/spec/models/asciicast_spec.rb index a8263b0..d89dd0e 100644 --- a/spec/models/asciicast_spec.rb +++ b/spec/models/asciicast_spec.rb @@ -23,6 +23,7 @@ describe Asciicast do end end + # TODO: create a service for this describe '#save' do let(:asciicast) { FactoryGirl.build(:asciicast, :user => user) }