Sha256: f0e60ee10ce7f4ae481594d5a46e6c6d0f2169d8c181ed6afdd1e6f3ef79d01d

Contents?: true

Size: 622 Bytes

Versions: 3

Compression:

Stored size: 622 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/../example_helper")

describe Micronaut::Rails do
  
  it "should never include lib/autotest in the gemspec, as it breaks autotest for Micronaut - see #{ticket 4}" do
    # We jump through hoops to make sure the Rake deprecation notice doesn't show up in the build (via stderr) or
    # in the gemspec itself
    silence_stream(STDERR) do
      @spec_string = `rake --silent puts_gemspec`
    end
    @spec_string.gsub! /Gem::manage_gems is deprecated/, "" 
    gem_spec = eval(@spec_string)
    gem_spec.files.each { |f| f.should_not match(%r|lib/autotest|) }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spicycode-micronaut-rails-0.1.9.0 examples/lib/micronaut-rails_example.rb
spicycode-micronaut-rails-0.2.0.0 examples/lib/micronaut-rails_example.rb
spicycode-micronaut-rails-0.2.2 examples/lib/micronaut-rails_example.rb