Sha256: d8f804c260ba1161802f7d68d2bd1883a9d9d47e568cb5bb3afe2105f5ba8a57

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe <%= class_name %> do

  it 'should be subclass of <%= interface_name %>' do
    <%= class_name %>.should < <%= interface_name %>
  end

  it 'should overload all interface methods (actions)' do
    <%= class_name %>.actions.should eql <%= interface_name %>.actions
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
soybean-2.1.3 lib/soybean/generators/templates/model_spec.rb
soybean-2.1.2 lib/soybean/generators/templates/model_spec.rb
soybean-2.1.1 lib/soybean/generators/templates/model_spec.rb
soybean-2.1.0 lib/soybean/generators/templates/model_spec.rb