Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect code rendered #49

Closed
lpil opened this issue Oct 29, 2017 · 2 comments
Closed

Incorrect code rendered #49

lpil opened this issue Oct 29, 2017 · 2 comments
Labels

Comments

@lpil
Copy link

lpil commented Oct 29, 2017

Input:

context 'no sidecar/archive' do
  it 'uploads destination master to the specified destination' do
    expect_any_instance_of(Uploader::Null) # rubocop:disable RSpec/AnyInstance
      .to receive(:upload)
      .with([file_path, 'HON_TEST001_010.mxf'])
      .and_return(Uploader::Result.new(success: true))
  end
end

Output:

context 'no sidecar/archive' do
  it 'uploads destination master to the specified destination' do
    expect_any_instance_of(Uploader::Null)# rubocop:disable RSpec/AnyInstance
.to receive(:upload)
)
)
  end
end
mjago added a commit that referenced this issue Oct 29, 2017
@mjago mjago added the bug label Oct 29, 2017
mjago added a commit that referenced this issue Oct 31, 2017
Fix dedent code breakage and bad formatting (#49)
@mjago
Copy link
Member

mjago commented Oct 31, 2017

Fixed with #50 - Thanks for reporting!

@mjago mjago closed this as completed Oct 31, 2017
@lpil
Copy link
Author

lpil commented Oct 31, 2017

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants