Sha256: ce2179808d9b4ae52f88517f3e74838931668930ae83310da885c721d900c400
Contents?: true
Size: 756 Bytes
Versions: 1
Compression:
Stored size: 756 Bytes
Contents
require 'spec_helper' describe RobotVim::CommandGenerator do describe ".generate" do let(:output_file) { "some/file.extension" } let(:user_commands) { "some user commands" } let(:write_to_output_file_command) { RobotVim::CommandGenerator.write_output_file_command(output_file) } let(:close_vim_commands) { RobotVim::CommandGenerator.vim_close_commands} let(:record_location_command) { RobotVim::CommandGenerator.record_location_command } subject { RobotVim::CommandGenerator.generate(user_commands, output_file) } it { should include(user_commands) } it { should include(write_to_output_file_command) } it { should include(record_location_command) } it { should include(close_vim_commands) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
robot-vim-2.0.0 | spec/robot-vim/command_generator_spec.rb |