Sha256: 0a5145d424d6bce6a7f5a4cf5205566d69e30bd31f0631773a6647123b18dd76
Contents?: true
Size: 884 Bytes
Versions: 55
Compression:
Stored size: 884 Bytes
Contents
require 'albacore/task_types/asmver' describe ::Albacore::Asmver::Config, 'when setting attributes and out' do let :strio do StringIO.new end subject do ::Albacore::Asmver::Config.new end def task @task end before :each do subject.file_path = 'Version.fs' subject.namespace = 'Hello.World' subject.attributes guid: 'b766f4f3-3f4e-49d0-a451-9c152059ae81', assembly_version: '0.1.2' subject.out = strio @task = ::Albacore::Asmver::Task.new(subject.opts) @task.execute end it 'should write namespace' do strio.string.should include('namespace Hello.World') end it 'should write Guid("...")' do strio.string.should include('[<assembly: Guid("b766f4f3-3f4e-49d0-a451-9c152059ae81")>]') end it 'should write AssemblyVersion' do strio.string.should include('[<assembly: AssemblyVersion("0.1.2")>]') end end
Version data entries
55 entries across 55 versions & 1 rubygems