Skip to content

Conversation

@maanavshah
Copy link
Collaborator

  • Added rspec and coverage gem
  • Added unit test for sc_client, emitter, parser and data_models
  • Updated gemfile and added gemlock

Please refer the issue: #6

@maanavshah maanavshah added the Feature New feature that needs to be introduced in the library label Jul 7, 2018
@maanavshah maanavshah requested review from peiyush13 and sacOO7 July 7, 2018 06:34
let(:on_connect_error) { -> { puts 'on connect got called' } }

before(:each) do
@connect_url = 'ws://localhost:8000/socketcluster/'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this line and put it in before(:each) block in scope of 'socketcluster client' describe block

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


before(:each) do
@connect_url = 'ws://localhost:8000/socketcluster/'
@socket = ScClient.new(@connect_url)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Added unit test for data_models, emitter, parser and sc_client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature that needs to be introduced in the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants