Sha256: 6d75d75fb9d5f12987867642075b428b3be6907d69e45ef23b928053bdebce7e
Contents?: true
Size: 517 Bytes
Versions: 1
Compression:
Stored size: 517 Bytes
Contents
require 'spec_helper' describe RobotVim::VimResponse do let(:expected_body) { "hi there. This is some stuff.\n That is in vim\n and might be awesome" } let(:expected_line) { 2 } let(:expected_column) { 4 } let(:file_contents) { expected_body + "\n" + expected_line.to_s + "\n" + expected_column.to_s } subject { RobotVim::VimResponse.new(file_contents) } its(:body) { should == expected_body } its(:line_number) { should == expected_line } its(:column_number) { should == expected_column } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
robot-vim-2.0.0 | spec/robot-vim/vim_response_spec.rb |