Sha256: 4278fdef9cf42bc1b169492a2c40835b891eda1fc14ef05bf38ba5d6a212bf1e

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 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.1 spec/robot-vim/vim_response_spec.rb