<commit_before>require 'spec_helper'

RSpec.describe 'Bitsten integration specs' do
  let(:client) { Cryptoexchange::Client.new }
  let(:stn_btc_pair) { Cryptoexchange::Models::Bilaxy::MarketPair.new(base: 'STN', target: 'BTC', market: 'bitsten') }

  it 'fetch pairs' do
    pairs = client.pairs('bitsten')
    expect(pairs).not_to be_empty

    pair = pairs.first
    expect(pair.base).to_not be nil
    expect(pair.target).to_not be nil
    expect(pair.market).to eq 'bitsten'
  end

  it 'give trade url' do
    trade_page_url = client.trade_page_url 'bitsten', base: stn_btc_pair.base, target: stn_btc_pair.target
    expect(trade_page_url).to eq "https://bitsten.com/exchange/stn_btc"
  end
<commit_msg>update wrong spec implementation on bitsten<commit_after>require 'spec_helper'

RSpec.describe 'Bitsten integration specs' do
  let(:client) { Cryptoexchange::Client.new }
  let(:stn_btc_pair) { Cryptoexchange::Models::MarketPair.new(base: 'STN', target: 'BTC', market: 'bitsten') }

  it 'fetch pairs' do
    pairs = client.pairs('bitsten')
    expect(pairs).not_to be_empty

    pair = pairs.first
    expect(pair.base).to_not be nil
    expect(pair.target).to_not be nil
    expect(pair.market).to eq 'bitsten'
  end

  it 'give trade url' do
    trade_page_url = client.trade_page_url 'bitsten', base: stn_btc_pair.base, target: stn_btc_pair.target
    expect(trade_page_url).to eq "https://bitsten.com/exchange/stn_btc"
  end

{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '972466', 'n_tokens_mistral': 537, 'n_tokens_neox': 514, 'n_words': 109}