Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jkremser committed Apr 5, 2016
1 parent 6cda974 commit 4afa04b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/simple_websocket_vcr/cassette.rb
Expand Up @@ -29,10 +29,10 @@ def next_session
if recording?
erb_variables = @options[:reverse_substitution] ? @options[:erb] : nil
session = if @using_json
RecordedJsonSession.new([], erb_variables)
else
RecordedYamlSession.new([], erb_variables)
end
RecordedJsonSession.new([], erb_variables)
else
RecordedYamlSession.new([], erb_variables)
end
@sessions.push(session)
@sessions.last
else
Expand Down

0 comments on commit 4afa04b

Please sign in to comment.