Sha256: 651e96acc8cb64bc5183a06fa8a13141e0b71afff16ece63e9d4c268acb348b6
Contents?: true
Size: 512 Bytes
Versions: 6
Compression:
Stored size: 512 Bytes
Contents
require 'spec_helper' module RailsBestPractices module Prepares describe GemfilePrepare do let(:runner) { Core::Runner.new(prepares: GemfilePrepare.new) } context "gemfile" do it "should parse gems" do content =<<-EOF source 'http://rubygems.org' gem 'rails' gem 'mysql2' EOF runner.prepare('Gemfile', content) gems = Prepares.gems gems.should == %w(rails mysql2) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems