Sha256: 1a672792759907265d5519035a467c9c24085b1940e0314354f296993003b0a4

Contents?: true

Size: 449 Bytes

Versions: 7

Compression:

Stored size: 449 Bytes

Contents

require "spec_helper"

describe <%= module_name %> do

  before  { class TestClass; end }
  after   { Object.send :remove_const, :TestClass }

  subject { <%= module_name %> }

  # describe ".configure" do

  #   it "is public" do
  #     expect(subject).to respond_to(:configure).with(0).arguments
  #   end

  #   it "sends module to a block" do
  #     subject.configure do |c|
  #       expect(c).to eq subject
  #     end
  #   end
  # end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hexx-1.1.1 lib/generators/dependency/templates/module_spec.erb
hexx-1.1.0 lib/generators/dependency/templates/module_spec.erb
hexx-1.0.2 lib/generators/dependency/templates/module_spec.erb
hexx-1.0.1 lib/generators/dependency/templates/module_spec.erb
hexx-1.0.0 lib/generators/dependency/templates/module_spec.erb
hexx-0.1.1 lib/generators/dependency/templates/module_spec.erb
hexx-0.1.0 lib/generators/dependency/templates/module_spec.erb