Sha256: 4b78bcdae5209a581375bcf8be6bcb6314b343982d7f0442aff646a2a229a903
Contents?: true
Size: 298 Bytes
Versions: 8
Compression:
Stored size: 298 Bytes
Contents
require 'helper' require 'generators/mock/mock_generator' class MockGeneratorTest < GeneratorCase tests MockGenerator test "create mock" do run_generator %w(test) assert_file "app/mocks/test_mock.rb" do |mock| assert_match(/class TestMock < Mock/, mock) end end end
Version data entries
8 entries across 8 versions & 1 rubygems