Sha256: bba67d10a30dae42b03a4f724862e398bdc32678e2ce73b5e2b4ce166e7e6acf
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
require 'spec_helper' require "generator_spec/test_case" require File.expand_path('../../lib/generators/sharp_social/sharp_social_generator', __FILE__) describe SharpSocialGenerator do include GeneratorSpec::TestCase #destination File.expand_path("../dummy/app/models/", __FILE__) destination File.expand_path("../tmp", __FILE__) #arguments %w(something) arguments %w(sharp_social --skip-active-record) before(:all) do prepare_destination run_generator end it "creates a actor model" do assert_file "../tmp/app/models/follow.rb", /Follow/ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sharp_social-0.1.1 | spec/test_generator_spec.rb |