Sha256: 657ae1407c05770dec34dcc5ad132e50f5016c05db80827898102afae2cc72b4
Contents?: true
Size: 493 Bytes
Versions: 59
Compression:
Stored size: 493 Bytes
Contents
require 'spec_helper' describe Spork::AppFramework do describe ".detect_framework" do it "detects when rails is installed and available" do create_file("config/environment.rb", "RAILS_GEM_VERSION = '2.1.0'") in_current_dir do Spork::AppFramework.detect_framework.short_name.should == "Rails" end end it "returns Unknown when no framework known detected" do Spork::AppFramework.detect_framework.short_name.should == "Unknown" end end end
Version data entries
59 entries across 59 versions & 3 rubygems